package com.hyt.it.ogt.kq.service.bm.model.vo;

import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "RefundComments对象", description = "RefundComments")
@Component
public class RefundComments extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "退款表主键id")
	private String id;

	@ApiModelProperty(value = "订单编号")
	private String orderId;

	@ApiModelProperty(value = "项目id")
	private String projectId;

	@ApiModelProperty(value = "regId")
	private String regId;

	@ApiModelProperty(value = "确认/拒绝（1：同意，2，：拒绝")
	private Integer refundStatus;

	@ApiModelProperty(value = "原因")
	private String result;

	@ApiModelProperty(value = "退款金额")
	private Double refundAmount;

	@ApiModelProperty(name = "ip", value = "通知地址ip", dataType = "String")
	@Value("${notify.ip:localhost}")
	private String ip;

	@ApiModelProperty(name = "port", value = "通知地址port", dataType = "String")
	@Value("${notify.port:8080}")
	private String port;

	@ApiModelProperty(name = "serialNumber", value = "交易流水号", dataType = "String")
	private String serialNumber;

}
